package br.edu.ifmg.ada.model.business;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName="tb_responsavel_aluno")
public class ResponsavelAluno {
	
	@DatabaseField(foreign=true, canBeNull=false, columnName="_id_responsavel")
	private Responsavel responsavel;
	@DatabaseField(foreign=true, canBeNull=false, columnName="_id_aluno")
	private Aluno aluno;
	
	public ResponsavelAluno(){}
	public ResponsavelAluno(Responsavel responsavel, Aluno aluno){
		this.aluno = aluno;
		this.responsavel = responsavel;
	}
	public Responsavel get_id_responsavel() {
		return responsavel;
	}
	public void set_id_responsavel(Responsavel responsavel) {
		this.responsavel = responsavel;
	}
	public Aluno get_id_aluno() {
		return aluno;
	}
	public void set_id_aluno(Aluno aluno) {
		this.aluno = aluno;
	}
	
}
